package stud.aistar.entity;

/**
 * *
 *
 * @ClassName :wangyu
 * @Description
 * @Author
 * @Date2019/10/9 16:03
 * @Version V1.0
 */
public class Phone {

    private Integer id;

    private String phone;

    private Integer code;

    public Phone() {
    }

    public Phone(Integer id, String phone, Integer code) {
        this.id = id;
        this.phone = phone;
        this.code = code;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    @Override
    public String toString() {
        return "Phone{" +
                "id=" + id +
                ", phone='" + phone + '\'' +
                ", code=" + code +
                '}';
    }
}
